package com.et.u1

import com.et.u1.uitl.Detail
import com.et.u1.uitl.Rows
import org.junit.Assert.assertEquals
import org.junit.Test
import java.util.*

/**
 * Example local unit test, which will execute on the development machine (host).
 *
 * See [testing documentation](http://d.android.com/tools/testing).
 */
class ExampleUnitTest {
    @Test
    fun addition_isCorrect() {
        assertEquals(4, 2 + 2)
    }
    @Test
    fun payForQR_code(){
        val rows = Rows("11", "911", "86999988", "1", "name", "000000", "100", "1", "100")
        val list = ArrayList<Rows>()
        list.add(rows)
        list.add(rows)
        list.add(rows)
        val d = Detail("86999988", "12", list)
        println(d)
    }
}